using System;

namespace Typed.Configuration
{
    [AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
    public class FieldNameAttribute : Attribute
    {
        private readonly string fieldName;

        public FieldNameAttribute(string fieldName)
        {
            this.fieldName = fieldName;
        }

        public string FieldName
        {
            get { return fieldName; }
        }
    }
}